﻿<%@ Page Title="Planning" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Burndown.aspx.cs" Inherits="APMAWebConsole.ReportingPart.Burndown" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Burndown
    </h2>
    <asp:ScriptManager ID="ScriptManager1" 
                               runat="server" />

    <p>
        <asp:Label ID="lblUserStoryIterationId" runat="server" >Iteration ID:</asp:Label>
        <asp:DropDownList ID="ddlUserStoryIterationId" runat="server" />
        <asp:Button ID="btnUserStoryChoose" runat="server" Text="Choose" OnClick="btnUserStoryChoose_OnClick"/>
    </p>
        <asp:UpdatePanel id="updChart" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
        <asp:Chart ID="Chart1" runat="server" DataSourceID="ObjectDataSource1">
            <Series>
                <asp:Series ChartType="FastLine" Name="Series1" XValueMember="Modified_date" 
                    YValueMembers="TO_DO">
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1">
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="BurnUpDataSource" 
            TypeName="APMAWebConsole.ReportingPart.Burndown"></asp:ObjectDataSource>
    
        </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Content>
